﻿namespace ESRI.ArcGIS.Client.Tasks.Async
{
    public partial class LocationToAddressTaskResult
    {
        /// <summary>
        /// Address found for the supplied input of the Locator.LocationsToAddressTaskAsync() task.
        /// </summary>
        public Address Address { get; private set; }

        internal LocationToAddressTaskResult(AddressEventArgs eventArgs)
        {
            Address = eventArgs.Address;
        }
    }
}